package org.example;

import org.dom4j.DocumentException;

import java.io.IOException;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws DocumentException, IOException {
        Scanner in =new Scanner(System.in);

        System.out.println("输入通讯码映射excel路径（不可带中文）：");
        String excelPath = in.nextLine();

        System.out.println("输入要替换的项目目录：");
        String dir = in.nextLine();

        ParseXmlUtil.doReplaceCommCode(excelPath, dir);
    }
}